//
//  SessionType.h
//  SHPE Conference Companion
//
//  Created by Richard Kirk on 3/25/11.
//  Copyright (c) 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>

@class Session;

@interface SessionType : NSManagedObject <NSXMLParserDelegate> {
@private
}
@property (nonatomic, retain) NSNumber * id;
@property (nonatomic, retain) NSString * desc;
@property (nonatomic, retain) NSString * name;
@property (nonatomic, retain) NSSet* sessions;
@property (nonatomic, retain) NSSet* conferences;
@property (nonatomic, retain) id parent;

@property (nonatomic, retain) NSXMLParser *xmlParser;
@property (nonatomic, retain) NSMutableString *xmlStringBuilder;


-(id)initWithParser:(NSXMLParser *)parser attributeDict:(NSDictionary *)attributes parent:(id)parentObject;
-(id)initWithSessionTypeId:(int)trackId;



@end
